<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
<h:body>

    <div id="header">
        <h:form id="try">
            <h:selectOneMenu class="left" id="selectRegion" name="selectRegion"
                             onchange="submit()" valueChangeListener="#{userPageBean.countryLocaleCodeChanged}">
                <f:selectItems value="#{userPageBean.countriesInMap}"/>
            </h:selectOneMenu>
            <br/>
            <h:outputText styleClass="headerUser" value="Logged in as"></h:outputText>
            <br/>
            <h:outputText styleClass="headerUser headerUsername" value="#{userLoginBean.userDTO.name}"></h:outputText>

            <img
                    src="#{facesContext.externalContext.requestContextPath}/images/rmt_logo.jpg"
                    width="300" height="125" alt="" class="center"/>
            <h:commandButton render=":try" class="logoutBtn" action="#{userLoginBean.toLogin}" id="submit">
                <f:ajax render=":try"> </f:ajax>
            </h:commandButton>

        </h:form>
    </div>

</h:body>
</html>
